package com.gao.service.impl;

import com.gao.mapper.UserMapper;
import com.gao.pojo.User;
import com.gao.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Projectname springboot-08-shiro
 * @Filename UserServiceImpl
 * @Author an
 * @Data 2022/8/15 8:16
 * @Description TODO
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User queryUserByName(String name) {
        return userMapper.queryUserByName(name);
    }
}
